package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.ReservationVo;

import java.time.LocalDateTime;
import java.util.List;

public interface CustomerReservationService {
    Integer getCancelledCount();

    List<ReservationVo> getCountByTime(LocalDateTime time);

    void addReservation(ReservationDto reservationDto);

    PageResponse<ReservationVo> selectByPage(Integer pageNum, Integer pageSize, Integer status);

    void cancle(Long id);
}
